<div style="font-size:7pt; text-align:center; padding-bottom:5px;">
	<div style="font-size:9pt; padding-bottom:6px;">{if $iCnt}{language text='Mod_Chat.page_listing' replace1=$iFrom replace2=$iTo replace3=$iCnt}{/if}</div>
	{include file="$sRootPath/_blocks/pager_ajax.html"}
</div>
<div id="online_content" style="padding:4px;">
{foreach from=$aRows item=aRow key=iKey}
<table style="width:100%;"{if is_int($iKey/2)}class="border13"{/if} cellpadding="1" cellspacing="1">
<tr>
	<td style="width:30px; text-align:center;">
	<a href="javascript:void(0);" style="cursor:pointer;" onclick="window.opener.document.location.href='{url link='public.user' name=$aRow.user}'">
	{Account::Avatar sUser=$aRow.user style="vertical-align:middle;" iSize=20 class="pic1" onmouseover="showInfo5('`$aRow.profile_info`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();" bNoCache=true}
	</a>
	</td>
	<td>
	<a href="javascript:void(0);" style="cursor:pointer;" {if $aRow.imstatus}onmouseover="showInfo5('({$aRow.imstatus})', '', '');" onmouseout="return nd();"{/if} onclick="popUp2('{url link='public.account.messenger.chat' userid=$aRow.userid type='request'}','{$iImChatHeight}','{$iImChatWidth}','yes','200','100');">{$aRow.user}</a>
	</td>
</tr>
</table>
{foreachelse}
<div style="text-align:center;">{language text='Mod_Chat.no_friends_online'}</div>
{/foreach}
</div>
<div id="ajax_image" style="text-align:center; display:none;">
	<img src="design/pic/ajax-loader.gif" alt="" />
</div>
